package com.xishu.bo.pay;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class QfQueryOrderResponse implements Serializable {
    private static final long serialVersionUID = -4520244740304319414L;

    @ApiModelProperty(value = "页数")
    private Integer page;

    @ApiModelProperty(value = "下单结果描述")
    private String resperr;

    @ApiModelProperty(value = "每页显示数量")
    private Integer page_size;

    @ApiModelProperty(value = "返回码,0000-接口调用成功")
    private String respcd;

    @ApiModelProperty(value = "查询结果")
    private Data data;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public String getResperr() {
        return resperr;
    }

    public void setResperr(String resperr) {
        this.resperr = resperr;
    }

    public Integer getPage_size() {
        return page_size;
    }

    public void setPage_size(Integer page_size) {
        this.page_size = page_size;
    }

    public String getRespcd() {
        return respcd;
    }

    public void setRespcd(String respcd) {
        this.respcd = respcd;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }
}


class Data {
    @ApiModelProperty(value = "钱方订单号")
    private String syssn;

    @ApiModelProperty(value = "外部订单号,开发者平台订单号")
    private String out_trade_no;

    @ApiModelProperty(value = "支付类型")
    private String pay_type;

    @ApiModelProperty(value = "订单类型,payment—支付的订单 refund—退款的订单")
    private String order_type;

    @ApiModelProperty(value = "请求交易时间,格式：yyyy-MM-dd HH:mm:ss")
    private String txdtm;

    @ApiModelProperty(value = "订单支付金额, 单位分")
    private String txamt;

    @ApiModelProperty(value = "系统交易时间,格式：yyyy-MM-dd HH:mm:ss")
    private String sysdtm;

    @ApiModelProperty(value = "撤销/退款标记,0-正常交易\n" +
            "1-已冲正\n" +
            "2-已撤销\n" +
            "3-已退货\n" +
            "5-部分退款")
    private String cancel;

    @ApiModelProperty(value = "支付结果返回码, 0000-交易成功\n" +
            "1143/1145-交易中\n" +
            "其他-均处理为失败")
    private String respcd;

    @ApiModelProperty(value = "支付结果描述")
    private String errmsg;

    public String getSyssn() {
        return syssn;
    }

    public void setSyssn(String syssn) {
        this.syssn = syssn;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getPay_type() {
        return pay_type;
    }

    public void setPay_type(String pay_type) {
        this.pay_type = pay_type;
    }

    public String getOrder_type() {
        return order_type;
    }

    public void setOrder_type(String order_type) {
        this.order_type = order_type;
    }

    public String getTxdtm() {
        return txdtm;
    }

    public void setTxdtm(String txdtm) {
        this.txdtm = txdtm;
    }

    public String getTxamt() {
        return txamt;
    }

    public void setTxamt(String txamt) {
        this.txamt = txamt;
    }

    public String getSysdtm() {
        return sysdtm;
    }

    public void setSysdtm(String sysdtm) {
        this.sysdtm = sysdtm;
    }

    public String getCancel() {
        return cancel;
    }

    public void setCancel(String cancel) {
        this.cancel = cancel;
    }

    public String getRespcd() {
        return respcd;
    }

    public void setRespcd(String respcd) {
        this.respcd = respcd;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }
}